package cn.hsa.fqz.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName t_task_medc_clue
 */
@TableName(value ="t_task_medc_clue")
public class TTaskMedcClueDO implements Serializable {
    /**
     * ID
     */
    @TableId
    private Integer id;

    /**
     * 任务ID
     */
    private Integer taskId;

    /**
     * 子任务ID
     */
    private Integer subTaskId;

    /**
     * 线索序列号
     */
    private String sequenceNo;

    /**
     * 医药机构名称
     */
    private String medcName;

    /**
     * 医药机构编码
     */
    private String medcCode;

    /**
     * 涉案金额
     */
    private BigDecimal caseMoney;

    /**
     * 报销金额
     */
    private BigDecimal reportMoney;

    /**
     * 涉案开始时间
     */
    private Date caseStartTime;

    /**
     * 涉案结束时间
     */
    private Date caseEndTime;

    /**
     * 办结状态：1、待处理  2、反馈中 3、申请办结   4、确认办结
     */
    private Integer dealState;

    /**
     * 处理原因
     */
    private String dealReason;

    /**
     * 办结申请人
     */
    private String dealApplyCplter;

    /**
     * 办结确认人
     */
    private String dealConfirmCplter;

    /**
     * 办结申请时间
     */
    private Date dealApplyTime;

    /**
     * 办结确认时间
     */
    private Date dealConfirmTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public String getDealReason() {
        return dealReason;
    }

    public void setDealReason(String dealReason) {
        this.dealReason = dealReason;
    }

    /**
     * ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 任务ID
     */
    public Integer getTaskId() {
        return taskId;
    }

    /**
     * 任务ID
     */
    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    /**
     * 子任务ID
     */
    public Integer getSubTaskId() {
        return subTaskId;
    }

    /**
     * 子任务ID
     */
    public void setSubTaskId(Integer subTaskId) {
        this.subTaskId = subTaskId;
    }

    /**
     * 线索序列号
     */
    public String getSequenceNo() {
        return sequenceNo;
    }

    /**
     * 线索序列号
     */
    public void setSequenceNo(String sequenceNo) {
        this.sequenceNo = sequenceNo;
    }

    /**
     * 医药机构名称
     */
    public String getMedcName() {
        return medcName;
    }

    /**
     * 医药机构名称
     */
    public void setMedcName(String medcName) {
        this.medcName = medcName;
    }

    /**
     * 医药机构编码
     */
    public String getMedcCode() {
        return medcCode;
    }

    /**
     * 医药机构编码
     */
    public void setMedcCode(String medcCode) {
        this.medcCode = medcCode;
    }

    /**
     * 涉案金额
     */
    public BigDecimal getCaseMoney() {
        return caseMoney;
    }

    /**
     * 涉案金额
     */
    public void setCaseMoney(BigDecimal caseMoney) {
        this.caseMoney = caseMoney;
    }

    /**
     * 报销金额
     */
    public BigDecimal getReportMoney() {
        return reportMoney;
    }

    /**
     * 报销金额
     */
    public void setReportMoney(BigDecimal reportMoney) {
        this.reportMoney = reportMoney;
    }

    /**
     * 涉案开始时间
     */
    public Date getCaseStartTime() {
        return caseStartTime;
    }

    /**
     * 涉案开始时间
     */
    public void setCaseStartTime(Date caseStartTime) {
        this.caseStartTime = caseStartTime;
    }

    /**
     * 涉案结束时间
     */
    public Date getCaseEndTime() {
        return caseEndTime;
    }

    /**
     * 涉案结束时间
     */
    public void setCaseEndTime(Date caseEndTime) {
        this.caseEndTime = caseEndTime;
    }

    /**
     * 办结状态：1、待处理  2、反馈中 3、申请办结   4、确认办结
     */
    public Integer getDealState() {
        return dealState;
    }

    /**
     * 办结状态：1、待处理  2、反馈中 3、申请办结   4、确认办结
     */
    public void setDealState(Integer dealState) {
        this.dealState = dealState;
    }

    /**
     * 办结申请人
     */
    public String getDealApplyCplter() {
        return dealApplyCplter;
    }

    /**
     * 办结申请人
     */
    public void setDealApplyCplter(String dealApplyCplter) {
        this.dealApplyCplter = dealApplyCplter;
    }

    /**
     * 办结确认人
     */
    public String getDealConfirmCplter() {
        return dealConfirmCplter;
    }

    /**
     * 办结确认人
     */
    public void setDealConfirmCplter(String dealConfirmCplter) {
        this.dealConfirmCplter = dealConfirmCplter;
    }

    /**
     * 办结申请时间
     */
    public Date getDealApplyTime() {
        return dealApplyTime;
    }

    /**
     * 办结申请时间
     */
    public void setDealApplyTime(Date dealApplyTime) {
        this.dealApplyTime = dealApplyTime;
    }

    /**
     * 办结确认时间
     */
    public Date getDealConfirmTime() {
        return dealConfirmTime;
    }

    /**
     * 办结确认时间
     */
    public void setDealConfirmTime(Date dealConfirmTime) {
        this.dealConfirmTime = dealConfirmTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TTaskMedcClueDO other = (TTaskMedcClueDO) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTaskId() == null ? other.getTaskId() == null : this.getTaskId().equals(other.getTaskId()))
            && (this.getSubTaskId() == null ? other.getSubTaskId() == null : this.getSubTaskId().equals(other.getSubTaskId()))
            && (this.getSequenceNo() == null ? other.getSequenceNo() == null : this.getSequenceNo().equals(other.getSequenceNo()))
            && (this.getMedcName() == null ? other.getMedcName() == null : this.getMedcName().equals(other.getMedcName()))
            && (this.getMedcCode() == null ? other.getMedcCode() == null : this.getMedcCode().equals(other.getMedcCode()))
            && (this.getCaseMoney() == null ? other.getCaseMoney() == null : this.getCaseMoney().equals(other.getCaseMoney()))
            && (this.getReportMoney() == null ? other.getReportMoney() == null : this.getReportMoney().equals(other.getReportMoney()))
            && (this.getCaseStartTime() == null ? other.getCaseStartTime() == null : this.getCaseStartTime().equals(other.getCaseStartTime()))
            && (this.getCaseEndTime() == null ? other.getCaseEndTime() == null : this.getCaseEndTime().equals(other.getCaseEndTime()))
            && (this.getDealState() == null ? other.getDealState() == null : this.getDealState().equals(other.getDealState()))
            && (this.getDealApplyCplter() == null ? other.getDealApplyCplter() == null : this.getDealApplyCplter().equals(other.getDealApplyCplter()))
            && (this.getDealConfirmCplter() == null ? other.getDealConfirmCplter() == null : this.getDealConfirmCplter().equals(other.getDealConfirmCplter()))
            && (this.getDealApplyTime() == null ? other.getDealApplyTime() == null : this.getDealApplyTime().equals(other.getDealApplyTime()))
            && (this.getDealConfirmTime() == null ? other.getDealConfirmTime() == null : this.getDealConfirmTime().equals(other.getDealConfirmTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTaskId() == null) ? 0 : getTaskId().hashCode());
        result = prime * result + ((getSubTaskId() == null) ? 0 : getSubTaskId().hashCode());
        result = prime * result + ((getSequenceNo() == null) ? 0 : getSequenceNo().hashCode());
        result = prime * result + ((getMedcName() == null) ? 0 : getMedcName().hashCode());
        result = prime * result + ((getMedcCode() == null) ? 0 : getMedcCode().hashCode());
        result = prime * result + ((getCaseMoney() == null) ? 0 : getCaseMoney().hashCode());
        result = prime * result + ((getReportMoney() == null) ? 0 : getReportMoney().hashCode());
        result = prime * result + ((getCaseStartTime() == null) ? 0 : getCaseStartTime().hashCode());
        result = prime * result + ((getCaseEndTime() == null) ? 0 : getCaseEndTime().hashCode());
        result = prime * result + ((getDealState() == null) ? 0 : getDealState().hashCode());
        result = prime * result + ((getDealApplyCplter() == null) ? 0 : getDealApplyCplter().hashCode());
        result = prime * result + ((getDealConfirmCplter() == null) ? 0 : getDealConfirmCplter().hashCode());
        result = prime * result + ((getDealApplyTime() == null) ? 0 : getDealApplyTime().hashCode());
        result = prime * result + ((getDealConfirmTime() == null) ? 0 : getDealConfirmTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", taskId=").append(taskId);
        sb.append(", subTaskId=").append(subTaskId);
        sb.append(", sequenceNo=").append(sequenceNo);
        sb.append(", medcName=").append(medcName);
        sb.append(", medcCode=").append(medcCode);
        sb.append(", caseMoney=").append(caseMoney);
        sb.append(", reportMoney=").append(reportMoney);
        sb.append(", caseStartTime=").append(caseStartTime);
        sb.append(", caseEndTime=").append(caseEndTime);
        sb.append(", dealState=").append(dealState);
        sb.append(", dealApplyCplter=").append(dealApplyCplter);
        sb.append(", dealConfirmCplter=").append(dealConfirmCplter);
        sb.append(", dealApplyTime=").append(dealApplyTime);
        sb.append(", dealConfirmTime=").append(dealConfirmTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}